package com.wanqing.community.dao;

import com.wanqing.community.bean.GoodsBean;

import java.util.List;
import java.util.Map;

/**
 * Created by pc on 2016/2/14.
 */
public interface GoodsDao {
    int getGoodsCount(Map<String, Object> mapPram);

    List<GoodsBean> getGoods(Map<String, Object> mapPram);

    int addGood(GoodsBean goodsBean);

    int updateGood(GoodsBean goodsBean);

    int deleteGoods(List<String> list);

    GoodsBean findGoodsById(String id);
}
